home *** CD-ROM | disk | FTP | other *** search
- // HUD menu
- //
- // defines from ui_shared.h
-
- assetGlobalDef
- {
- // cursor "ui/assets/3_cursor2" // cursor
- // gradientBar "ui/assets/gradientbar2.tga" // gradient bar
- // fadeClamp 1.0 // sets the fadeup alpha
- // fadeCycle 1 // how often fade happens in milliseconds
- // fadeAmount 0.1 // amount to adjust alpha per cycle
-
- // shadowX 5 // x amount for shadow offset
- // shadowY 5 // y amount for shadow offset
- // shadowColor 0.1 0.1 0.1 0.25 // shadow color
-
- // font "fonts/font" 16 // font
- // smallFont "fonts/smallfont" 12 // font
- bigFont "fonts/reallybigfont" 20 // font
- }
- {
- menuDef
- {
- name "mainhud"
- fullScreen 0 // MENU_TRUE
- rect 0 0 640 480 // Size and position of the menu
- visible 1 // Visible on open
- focusColor 1 1 1 1 // Focus color for text and items
- appearanceIncrement 75 // In miliseconds
- descX 320
- descY 434
- descColor .96 .933 .40 1 // Focus color for text and items
- descAlignment ITEM_ALIGN_CENTER
-
- }
-
- // RIGHT SIDE HUD //
- menuDef
- {
- name "righthud"
- fullScreen 0 // MENU_TRUE
- rect 560 400 80 80 // Size and position of the menu
- visible 1 // Visible on open
- focusColor 1 1 1 1 // Focus color for text and items
- appearanceIncrement 75 // In miliseconds
- descX 320
- descY 434
- descColor .96 .933 .40 1 // Focus color for text and items
- descAlignment ITEM_ALIGN_CENTER
- }
-
- // LEFT SIDE HUD //
- menuDef
- {
- name "lefthud"
- fullScreen 0 // MENU_TRUE
- rect 0 400 80 80 // Size and position of the menu
- visible 1 // Visible on open
- focusColor 1 1 1 1 // Focus color for text and items
- appearanceIncrement 75 // In miliseconds
- descX 320
- descY 434
- descColor .96 .933 .40 1 // Focus color for text and items
- descAlignment ITEM_ALIGN_CENTER
- }
-
- menuDef
- {
- name "weaponselecthud"
- fullScreen 0 // MENU_TRUE
- rect 30 410 0 0 // Size and position of the menu
- visible 1 // Visible on open
- focusColor 1 1 1 1 // Focus color for text and items
- }
-
- menuDef
- {
- name "forceselecthud"
- fullScreen 0 // MENU_TRUE
- rect 30 410 0 0 // Size and position of the menu
- visible 1 // Visible on open
- focusColor 1 1 1 1 // Focus color for text and items
- }
-
- menuDef
- {
- name "inventoryselecthud"
- fullScreen 0 // MENU_TRUE
- rect 30 410 0 0 // Size and position of the menu
- visible 1 // Visible on open
- focusColor 1 1 1 1 // Focus color for text and items
- }
-
-
- // Used as background for the Weapon, Force Powers, and Inventory HUDs
- menuDef
- {
- name "iconbackground"
- fullScreen 0 // MENU_TRUE
- rect 30 410 0 0 // Size and position of the menu
- visible 1 // Visible on open
- focusColor 1 1 1 1 // Focus color for text and items
- }
- }